package com.project.springboot.page;

/**
 * description: 分页常量
 * @author 朱正磊
 * @date 2023-08-09 23:00:58
 */
public class PageConstant {

    /**
     * 当前页数
     */
    public static final String PAGE_NUM = "pageNum";

    /**
     * 每页记录数
     */
    public static final String PAGE_SIZE = "pageSize";

    /**
     * 排序字段
     */
    public static final String ORDER_FIELD = "orderField";

    /**
     * 排序方式：ASC(asc)、DESC(desc)
     */
    public static final String ORDER_WAY = "orderWay";

    /**
     * 升序
     */
    public static final String ORDER_WAY_ASC = "ASC";

    /**
     * 降序
     */
    public static final String ORDER_WAY_DESC = "DESC";

}
